package com.deer.wms.system.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.deer.wms.project.root.core.result.Result;
import com.deer.wms.system.manage.model.SysParam;
import com.deer.wms.system.manage.model.SysParamCriteria;
import com.deer.wms.system.manage.model.SysParamDto;

import java.util.List;


/**
 * Created by guo on 2019/07/12.
 */
public interface SysParamService extends IService<SysParam> {

    Result createSysParam(SysParam sysParam);

    List<SysParamDto> findList(SysParamCriteria criteria);

    List<SysParamDto> reSetRedis();

    List<SysParamDto> findByCode(String paramCode);

    List<SysParamDto> findByName(String paramName);

    List<SysParam> findByMemo(String memo);


    SysParam findBy(String field, String value);
}
